﻿using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Services;

namespace YAPACS.RisServer.Interface.Plugin.DataGrid
{
    /// <summary>
    /// 获取dataGrid表头
    /// </summary>
    public interface IGetHeaders: IApplicationService
    {
        /// <summary>
        /// 获取DataGrid表头
        /// </summary>
        /// <param name="girdType">dataGrid类型(用于展示什么的)</param>
        /// <param name="sort">排序表达式 eg:["name","age"]</param>
        /// <returns></returns>
        [HttpPost]
        public Task<ResultDto> GetColumHeaders(string girdType,string[] sort,string sortType = "desc");
    }
}
